GXPostScriptStreamFont
QuickDraw GX sends theGXPostScriptStreamFont
message when the imaging system determines that a font is needed to print a document. You can override theGXPostScriptStreamFont
message to provide font management on a remote host. Your override of thePostScriptStreamFont
message must match the following formal declaration:
OSErr MyPostScriptStreamFont (gxFont fontRef, gxScalerStream *stream);
fontRef
- A reference to the font to be streamed.
stream
- A pointer to the
gxScalerStream
structure that specifies how to stream the font to the printer.- function result
- An error code. The value
noErr
indicates that the operation was successful.DESCRIPTION
The default implementation of theGXPostScriptStreamFont
message streams the specified font to the printer. You can override this message to determine when a font is being downloaded or to change the streaming method used to send the font to the printer.SPECIAL CONSIDERATIONS
You must forward theGXPostScriptStreamFont
message.RESULT CODES
The default implementation of the
gxSegmentLoadFailedErr A required code segment could not be found,
or there was not enough memory to load it.gxPrUserAbortErr The user has canceled printing. GXPostScriptStreamFont
message can also return the communications errors that are listed in Table 4-2 on page 4-42.SEE ALSO
ThegxScalerStream
structure is described in Inside Macintosh: QuickDraw GX Environment and Utilities.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help